﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;

namespace Httlgd.DataCenter.Services.Sms.DataTransferObject
{
    [DataContract]
    public class BibleScriptureDTO : Httlgd.DataCenter.Services.Core.BusinessEntityBase
    {
        [DataMember]
        public int ID { get; set; }

        [DataMember]
        public int SermonID { get; set; }

        [DataMember]
        public int BibleBookID { get; set; }

        [DataMember]
        public int FromChapter { get; set; }

        [DataMember]
        public int FromVerse { get; set; }

        [DataMember]
        public int ToChapter { get; set; }

        [DataMember]
        public int ToVerse { get; set; }

        [DataMember]
        public bool IsKeyVerse { get; set; }

        [DataMember]
        public bool IsRefVerse { get; set; }

        [DataMember]
        public override object Key
        {
            get
            {
                return ID;
            }
            set
            {
                ID = (int)value;
            }
        }
    }
}
